package com.budwk.app.miniapp.services.impl;

import cn.dev33.satoken.context.SaHolder;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.util.ObjectUtil;
import com.budwk.app.miniapp.common.CacheConstants;
import com.budwk.app.miniapp.common.CacheNames;
import com.budwk.app.miniapp.models.DictDataWithSubLists;
import com.budwk.app.miniapp.models.SqfwRally;
import com.budwk.app.miniapp.models.SysDictData;
import com.budwk.app.miniapp.models.SysDictType;
import com.budwk.app.miniapp.models.dto.SysDictDataQueryDTO;
import com.budwk.app.miniapp.services.DictService;
import com.budwk.app.miniapp.services.SqfwRallyService;
import com.budwk.app.miniapp.services.SysDictTypeService;
import com.budwk.app.miniapp.services.SysdictdataService;
import com.budwk.starter.common.constant.RedisConstant;
import com.budwk.starter.common.page.PageUtil;
import com.budwk.starter.database.service.BaseServiceImpl;
import com.google.common.collect.Lists;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang.StringUtils;
import org.nutz.dao.Cnd;
import org.nutz.dao.Dao;
import org.nutz.ioc.loader.annotation.Inject;
import org.nutz.ioc.loader.annotation.IocBean;
import org.nutz.lang.Strings;
import org.nutz.plugins.wkcache.annotation.CacheDefaults;
import org.nutz.plugins.wkcache.annotation.CacheResult;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.stream.Collectors;

@IocBean(args = {"refer:dao"})
@CacheDefaults(cacheName =  CacheNames.SYS_DICT, isHash = false, cacheLiveTime = RedisConstant.WKCACHE_TIMEOUT)
@Slf4j
public class SysDictTypeServiceImpl  extends BaseServiceImpl<SysDictType> implements SysDictTypeService {
    public SysDictTypeServiceImpl(Dao dao) {
        super(dao);
    }


}
